"""charge_system URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path

from web import views

urlpatterns = [
    path('notice/',views.notice),
    path('notice/set/phone/discount/for/consumer/',views.set_phone_discount_for_consumer),
    path('notice/set/game/discount/for/consumer/',views.set_game_discount_for_consumer),
    path('notice/set/phone/discount/for/vendor/',views.set_phone_discount_for_vendor),
    path('notice/set/game/discount/for/vendor/',views.set_game_discount_for_vendor),

    path('login/',views.login),
    path('logout/',views.logout),
    path('image/code/',views.image_code),

    path('game/list/',views.game_list),
    path('game/add/',views.game_add),

    path('game/edit/<int:uid>/',views.game_edit),
    path('game/delete/<int:uid>/',views.game_delete),
    path('game/out/<int:uid>/',views.game_out),

    path('game/out/list/',views.game_out_list),
    path('game/out/reout/<int:uid>/',views.game_out_reout),

    path('phone/list/',views.phone_list),
    path('phone/add/',views.phone_add),
    path('phone/edit/<int:uid>/',views.phone_edit),
    path('phone/delete/<int:uid>/',views.phone_delete),

    path('phone/out/<int:uid>/',views.phone_out),
    path('phone/out/list/',views.phone_out_list),
    path('phone/out/reout/<int:uid>/',views.phone_out_reout),

    path('user/list/',views.user_list),
    path('user/add/',views.user_add),
    path('user/edit/<int:uid>/',views.user_edit),
    path('user/delete/<int:uid>/',views.user_delete),

    path('dashboard/single/',views.dashboard_single),
    path('dashboard/multiple/',views.dashboard_multiple),



]
